package com.firesrc.mail.search;

import jodd.cache.Cache;
import jodd.cache.FIFOCache;

public class CacheManager {
	private static Cache mailCache;

	public static synchronized Cache getMailCache() {
		if (mailCache == null) {
			mailCache = new FIFOCache<String, String>(8000);
		}
		return mailCache;
	}

}
